home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / OpenGL / glarrayelement.z / glarrayelement
Encoding:
Text File  |  2002-10-03  |  4.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt((((3333GGGG))))             OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee             ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt - render a vertex using the specified vertex array element
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt( GLint _i )
  14.  
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _i  Specifies an index into the enabled vertex data arrays.
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt commands are used within ggggllllBBBBeeeeggggiiiinnnn/ggggllllEEEEnnnndddd pairs to specify
  21.      vertex and attribute data for point, line, and polygon primitives. If
  22.      GGGGLLLL____VVVVEEEERRRRTTTTEEEEXXXX____AAAARRRRRRRRAAAAYYYY is enabled when ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is called, a single vertex
  23.      is drawn, using vertex and attribute data taken from location _i of the
  24.      enabled arrays. If GGGGLLLL____VVVVEEEERRRRTTTTEEEEXXXX____AAAARRRRRRRRAAAAYYYY is not enabled, no drawing occurs but
  25.      the attributes corresponding to the enabled arrays are modified.
  26.  
  27.      Use ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt to construct primitives by indexing vertex data,
  28.      rather than by streaming through arrays of data in first-to-last order.
  29.      Because each call specifies only a single vertex, it is possible to
  30.      explicitly specify per-primitive attributes such as a single normal per
  31.      individual triangle.
  32.  
  33.      Changes made to array data between the execution of ggggllllBBBBeeeeggggiiiinnnn and the
  34.      corresponding execution of ggggllllEEEEnnnndddd may affect calls to ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt that
  35.      are made within the same ggggllllBBBBeeeeggggiiiinnnn/ggggllllEEEEnnnndddd period in non-sequential ways.
  36.      That is, a call to
  37.      ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt that precedes a change to array data may access the
  38.      changed data, and a call that follows a change to array data may access
  39.      original data.
  40.  
  41. NNNNOOOOTTTTEEEESSSS
  42.      ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is available only if the GL version is 1.1 or greater.
  43.  
  44.      ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is included in display lists. If ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is entered
  45.      into a display list, the necessary array data (determined by the array
  46.      pointers and enables) is also entered into the display list. Because the
  47.      array pointers and enables are client-side state, their values affect
  48.      display lists when the lists are created, not when the lists are
  49.      executed.
  50.  
  51.  
  52. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  53.      ggggllllCCCCoooolllloooorrrrPPPPooooiiiinnnntttteeeerrrr, ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss, ggggllllEEEEddddggggeeeeFFFFllllaaaaggggPPPPooooiiiinnnntttteeeerrrr, ggggllllGGGGeeeettttPPPPooooiiiinnnntttteeeerrrrvvvv,
  54.      ggggllllIIIInnnnddddeeeexxxxPPPPooooiiiinnnntttteeeerrrr, ggggllllIIIInnnntttteeeerrrrlllleeeeaaaavvvveeeeddddAAAArrrrrrrraaaayyyyssss, ggggllllNNNNoooorrrrmmmmaaaallllPPPPooooiiiinnnntttteeeerrrr, ggggllllTTTTeeeexxxxCCCCoooooooorrrrddddPPPPooooiiiinnnntttteeeerrrr,
  55.      ggggllllVVVVeeeerrrrtttteeeexxxxPPPPooooiiiinnnntttteeeerrrr
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.